package com.fei.BYSJ.utils;

import com.fei.BYSJ.beans.Data;

public class ResultData {



    public static  Data success(String msg, int count, Object data){
        return new Data(0,msg,count,data);

    }
    public static  Data success(String msg, Object data){
        return new Data(0,msg,data);

    }




    public static   Data failed(String msg,int count,Object data){
        return new Data(1,msg,count,data);

    }
    public static   Data failed(String msg,Object data){
        return new Data(1,msg,data);

    }

}
